{extend name="template"}

{block name="body"}

<!-- 导航栏 -->
<div class="layui-row common-nav" style="width:100%;position:fixed;top:0;left:0;height:100px;z-index:90;">
    {include file="common/header" /}
</div>
<div id="search_form" style="display: none;z-index:1000;position:absolute;">
    {include file="common/search" /}
</div>

<!-- 轮播图 -->
<div class="layui-row list-carousel" style="position:fixed;top:100px;left:0;height:250px;z-index:80;">
    <img style="width:100%;height:100%;"  src="__ROOT__/static/index/img/subbanner_02.jpg">
</div>

<div class="gas-index layui-fluid" style="width:100%;padding:10px 0 0;background-color:#f7f6f4;position:relative;margin-top:360px;z-index:110;">

    <div class="edu-enroll layui-row margin-top-20">
        <div class="quick-menu">
            <div>
                <a href="/edu/enroll.html">
                    <img style="width:200px;height:60px;" src="__ROOT__/static/index/img/enroll2.png">
                </a>
            </div>
            <div>
                <a href="/edu/query.html">
                    <img style="width:200px;height:60px;" src="__ROOT__/static/index/img/result_query2.png">
                </a>
            </div>
        </div>
        <div class="info">

            <div class="header" style="height:30px;">
                <div class="pull-left name">马上报名</div>
                <div class="pull-right breadcrumb">
                    <a style="color: inherit;" href="/">首页</a>->教育培训->在线报名
                </div>
            </div>
            <div style="margin:0 auto;text-align:center;font-size:30px;line-height:60px;min-height:300px;">
                {if $result.status eq 1}
                    <span style="color:#F97100;" class="nav-icon padding-right-15 fa fa-check"></span>
                    <span style="color:#F97100;">{$result.msg}</span>
                    <p style="font-size:20px;">报名号：<strong>{$result.no}</strong>，请牢记（查询证书时要用到）</p>
                {else}
                    <span style="color:#666;" class="nav-icon padding-right-15 fa fa-close"></span>
                    <span style="color:#666;">{$result.msg}</span>
                {/if}
            </div>
        </div>
    </div>

    {include file="common/footer" /}

</div>

{/block}

{block name='style'}
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1">
<script>if (location.href.indexOf('#') > -1) location.replace(location.href.split('#')[0])</script>
<link rel="stylesheet" href="__ROOT__/static/index/index.css">
{/block}

{block name='script'}
<script src="__ROOT__/static/index/index.js"></script>
<script>
    layui.use('form', function(){
        var form = layui.form;

        //监听提交
        form.on('submit(formDemo)', function(data){
            layer.msg(JSON.stringify(data.field));
            return false;
        });
    });
</script>
{/block}
